<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>影院后台管理系统</title>
    <link rel="stylesheet" href="static/layui/css/layui.css">
    <link rel="stylesheet" href="static/css/layout.css">
</head>
<body class="layui-layout-body layui-unselect">
<div class="layui-layout layui-layout-admin">
    <!--顶部导航开始-->
    <div class="layui-header">
        <a href="###" class="lying-logo-mini"><i class="layui-icon">&#xe609;</i></a>
        <a href="###" class="layui-logo">Awesome</a>
        <ul class="layui-nav layui-layout-left">
            <li class="layui-nav-item" lay-unselect><a href="###">控制台</a></li>
            <li class="layui-nav-item" lay-unselect><a href="visualization/report.html">数据表盘</a></li>
            <li class="layui-nav-item" lay-unselect>
                <a href="javascript:;">其它系统</a>
                <dl class="layui-nav-child">
                    <dd><a href="http://localhost:8080" target="_blank">前台售票</a></dd>
                    <dd><a href="###">后台管理</a></dd>
                    <dd><a href="###">API接口查看</a></dd>
                </dl>
            </li>
        </ul>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item" lay-unselect id="userinfo">
                <a href="javascript:;" >用户信息</a>
                <dl class="layui-nav-child">
                    <dd><a href="###">基本资料</a></dd>
                    <dd><a href="###">安全设置</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item" lay-unselect><a href="javascript:logout()">退出</a></li>
            <li class="layui-nav-item" lay-unselect><a href="javascript:;" id="pop-right"><i class="layui-icon layui-icon-more-vertical"></i></a></li>
        </ul>
    </div>
    <!--顶部导航结束-->

    <!--侧边菜单开始-->
    <div class="layui-side">
        <div class="layui-side-scroll">
            <ul class="layui-nav layui-nav-tree">
                <!--侧栏缩进图标开始-->
                <li class="lying-nav-fold"><i class="layui-icon layui-icon-shrink-right"></i></li>
                <!--侧栏缩进图标结束-->

                <li class="lying-nav-item lying-nav-open">
                    <a class="lying-nav-header" href="javascript:;">
                        <div class="lying-nav-icon"><i class="layui-icon">&#xe602;</i></div>
                        <span class="lying-nav-title">影院管理</span>
                    </a>
                    <dl class="lying-nav-child">
                        <dd>
                            <a href="javascript:;" lying-src="component/addCinema.html">
                                <div class="lying-nav-icon"><i class="layui-icon">&#xe69c;</i></div>
                                <span class="lying-nav-title">添加影院</span>
                            </a>
                        </dd>
                        <dd>
                            <a href="javascript:;" lying-src="component/setHall.html">
                                <div class="lying-nav-icon"><i class="layui-icon">&#xe634;</i></div>
                                <span class="lying-nav-title">设置影厅</span>
                            </a>
                        </dd>
                    </dl>
                </li>

                <li class="lying-nav-item">
                    <a class="lying-nav-header" href="javascript:;">
                        <div class="lying-nav-icon"><i class="layui-icon">&#xe602;</i></div>
                        <span class="lying-nav-title">影票管理</span>
                    </a>
                    <dl class="lying-nav-child">
                        <dd>
                            <a href="javascript:;" lying-src="component/manageOnShow.html">
                                <div class="lying-nav-icon"><i class="layui-icon">&#xe63f;</i></div>
                                <span class="lying-nav-title">管理档期</span>
                            </a>
                        </dd>
                        <dd>
                            <a href="javascript:;" lying-src="component/addMovie.html">
                                <div class="lying-nav-icon"><i class="layui-icon">&#xe63f;</i></div>
                                <span class="lying-nav-title">添加影讯</span>
                            </a>
                        </dd>
                        <dd>
                            <a href="javascript:;" lying-src="component/MovieOnShow.html">
                                <div class="lying-nav-icon"><i class="layui-icon">&#xe63f;</i></div>
                                <span class="lying-nav-title">设置档期</span>
                            </a>
                        </dd>
                    </dl>
                </li>

                <!--<li class="lying-nav-item">-->
                    <!--<a class="lying-nav-header" href="javascript:;">-->
                        <!--<div class="lying-nav-icon"><i class="layui-icon">&#xe705;</i></div>-->
                        <!--<span class="lying-nav-title">文档</span>-->
                    <!--</a>-->
                    <!--<dl class="lying-nav-child">-->
                        <!--<dd>-->
                            <!--<a href="javascript:;" lying-src="doc/start.html">-->
                                <!--<div class="lying-nav-icon"><i class="layui-icon">&#xe63f;</i></div>-->
                                <!--<span class="lying-nav-title">快速开始</span>-->
                            <!--</a>-->
                        <!--</dd>-->
                        <!--<dd>-->
                            <!--<a href="javascript:;" lying-src="doc/layout.html">-->
                                <!--<div class="lying-nav-icon"><i class="layui-icon">&#xe63f;</i></div>-->
                                <!--<span class="lying-nav-title">布局操作</span>-->
                            <!--</a>-->
                        <!--</dd>-->
                        <!--<dd>-->
                            <!--<a href="javascript:;" lying-src="doc/inset.html">-->
                                <!--<div class="lying-nav-icon"><i class="layui-icon">&#xe63f;</i></div>-->
                                <!--<span class="lying-nav-title">子页操作</span>-->
                            <!--</a>-->
                        <!--</dd>-->
                    <!--</dl>-->
                <!--</li>-->

                <li class="lying-nav-item">
                    <a class="lying-nav-header" href="javascript:;">
                        <div class="lying-nav-icon"><i class="layui-icon">&#xe705;</i></div>
                        <span class="lying-nav-title">高级图表分析</span>
                    </a>
                    <dl class="lying-nav-child">
                        <dd>
                            <a href="javascript:;" lying-src="visualization/dataSource.html">
                                <div class="lying-nav-icon"><i class="layui-icon">&#xe63f;</i></div>
                                <span class="lying-nav-title">数据源配置</span>
                            </a>
                        </dd>
                        <dd>
                            <a href="javascript:;" lying-src="visualization/category.html">
                                <div class="lying-nav-icon"><i class="layui-icon">&#xe63f;</i></div>
                                <span class="lying-nav-title">数据图表</span>
                            </a>
                        </dd>
                        <dd>
                            <a href="javascript:;" lying-src="visualization/report.html">
                                <div class="lying-nav-icon"><i class="layui-icon">&#xe63f;</i></div>
                                <span class="lying-nav-title">数据表盘</span>
                            </a>
                        </dd>
                    </dl>
                </li>
            </ul>
        </div>
    </div>
    <!--侧边菜单结束-->

    <!--内容主体区域开始-->
    <div class="layui-body">
        <div class="layui-tab layui-tab-brief" lay-allowClose="true" lay-filter="tabs">
            <div class="lying-tab-goleft"><i class="layui-icon">&#xe65a;</i></div>
            <div class="lying-tab-goright"><i class="layui-icon">&#xe65b;</i></div>
            <div class="lying-tab-refresh"><i class="layui-icon">&#xe63d;</i></div>
            <ul class="layui-tab-title">
                <li class="layui-this"><i class="layui-icon">&#xe68e;</i> 首页</li>
            </ul>
            <div class="layui-tab-content">
                <div class="layui-tab-item layui-show">
                    <iframe src="html/main.html"></iframe>
                </div>
            </div>
        </div>
    </div>
    <!--内容主体区域结束-->
</div>
</body>
<script src="component/js/jquery.min.js"></script>
<script src="static/layui/layui.js"></script>
<script src="component/js/common.js"></script>
<script>
    layui.config({base: 'static/js/'}).use(['layout'], function () {
        var $ = layui.$,
            layout = layui.layout;

        //弹出抽屉
        $('#pop-right').click(function () {
            layout.popRight({
                title: '帮助',
                content: '抽屉内容'
            });
        });
    });

    $(function () {
        checkCookie();
        var userinfo = getCookie("manage_username");
        //document.getElementById("userinfo").innerHTML=userinfo;
        $("#userinfo").text(userinfo);

    });

    function logout() {
        getRootPath();
        clearCookie();
        window.location.href = manageurl+"/login.html";
    }
</script>
</html>